<!--
  This file is part of IVRE.
  Copyright 2011 - 2020 Pierre LALET <pierre@droids-corp.org>

  IVRE is free software: you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  IVRE is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
  License for more details.

  You should have received a copy of the GNU General Public License
  along with IVRE. If not, see <http://www.gnu.org/licenses/>.
-->

<span ng-attr-title="{{::port.service_method}}"
      >{{::port.service_name}}</span><!--
--><span ng-if="::port.service_tunnel"
	 >/{{::port.service_tunnel}}</span><!--
--><span ng-if="::port.service_product"
	 >: {{::port.service_product}}<!--
--><span ng-if="::port.service_version"
	 >, {{::port.service_version}}</span><!--
--></span>
<span ng-if="::port.service_extrainfo"
      >({{::port.service_extrainfo}})</span>
<span ng-if="::port.service_hostname"
      >(hostname: {{::port.service_hostname}})</span>
<span ng-if="::port.service_ostype"
      >(ostype: {{::port.service_ostype}})</span>
<span ng-if="::port.screenshot == 'empty'"
      >(empty screenshot)</span>
<div>
  <img ng-if="::port.screenshot == 'field'"
       ng-src="data:image/jpeg;base64,{{::port.screendata}}"
       class="screenshot"
       alt="Screenshot for port {{::port.port}}"/>
</div>
